package lesson18;

public class Zoo 
{
	Mammal[] mammals = new Mammal[2];
	
	public void makeAllAnimalsNoisy(){
		for (int i = 0; i < mammals.length; i++) {
			mammals[i].makeNoise();
		}
	}
}
